<?php
namespace Admin\Model;
use Think\Model;
class TeamModel extends Model {
	protected $tablePrefix = 'te_'; 
 	 // 定义自动验证
	protected $_validate    =   array(
        array('openid','require','openid必须'),
        array('teamname','require','队名必须'),
	);
	 
}